// 导入模块
import { add, multiply } from './math.js';

// 页面加载后执行
document.addEventListener('DOMContentLoaded', () => {
    const result1 = add(3, 5);
    const result2 = multiply(4, 6);

    // 显示结果到页面
    document.getElementById('app').innerHTML =
        `3 + 5 = ${result1}
     <br>
    4 × 6 = ${result2}`;
});